package com.silverbox.shopper.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.silverbox.shopper.entity.DecorationSuitShop;

public interface DecorationSuitShopMapper {
    int deleteByPrimaryKey(Long id);

    int insert(DecorationSuitShop record);

    int insertSelective(DecorationSuitShop record);

    DecorationSuitShop selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(DecorationSuitShop record);

    int updateByPrimaryKey(DecorationSuitShop record);
    
    /**
	 * 查询是否有子帐号店铺使用扫码下单店铺装修风格
	 * 
	 * @param storeId
	 * @return List
	 * @author yxy
	 * @date 2018年1月24日
	 */
	List<Long> getShopperRenovationByStoreId(@Param("storeId") Integer storeId,
			@Param("decorationType") int decorationType);

	/**
	 * 获取是否开通店铺装修风格二
	 * @param storeId
	 * @return
	 */
	Integer getShopperRenovationStyleByStoreId(@Param("storeId") Integer storeId,
			@Param("decorationType") int decorationType);
}